package com.twu.biblioteca;

import com.twu.biblioteca.session.Session;
import com.twu.biblioteca.view.ConsoleUI;

public class BibliotecaApp {

    public static void main(String[] args) {
        Session session = new Session(new Library(), new ConsoleUI(System.out, System.in));
        session.getLibrary().getBooks().add(new Book("Test", "Author", "2014"));
        session.getLibrary().getMovies().add(new Movie("Test Title", "Director Person", "2010", 10));
        ContactInformation contactInfo = new ContactInformation("test@test.com", "13 Friday Street", "071234567123");
        session.getLibrary().getCustomers().add(new Customer("123-4567", "password1", "John Doe", contactInfo));
        session.run();
    }
}
